import 'package:flutter/material.dart';

class MineHeader extends StatefulWidget implements PreferredSizeWidget {
  @override
  _MineHeaderState createState() => _MineHeaderState();

  @override
  Size get preferredSize {return new Size.fromHeight(20);}
}

class _MineHeaderState extends State<MineHeader> {
  @override
  Widget build(BuildContext context) {
    return Container(
      height: 20,
      width: double.infinity,
      color: Colors.pink,
    );
  }
}
